<!DOCTYPE html>
<html lang="en">
<head>
    {% load static %}
    <meta charset="UTF-8">
    <title>search</title>
     <link href="{% static 'myApp/bootstrap-3.4.1-dist/css/bootstrap.min.css' %}" rel="stylesheet">
    <script src="{% static 'myApp/jquery-3.5.1/jquery-3.5.1.js' %}" ></script>
    <script src="{% static 'myApp/bootstrap-3.4.1-dist/js/bootstrap.min.js' %}"></script>
</head>
<body>
{% if search_question_list %}
    {% for question in search_question_list %}
<a href="{% url 'myApp:detail' question.id%}" class="list-group-item">{{ question.question_text }}</a>
    {% endfor %}
    {% else %}
    <p>搜索不到相关结果</p>
{% endif %}
</body>
</html>